package com.lhkj.ct.meta.modules.patient.model.dto;

import com.lhkj.ct.base.validator.constraints.HasNonElement;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.Set;

/**
  * <p>
  *     描述：档案归档传参
  * </p>
  */
public class ArchiveConsolidationDto implements Serializable {

    @NotBlank(message = "请选择单位")
    private String unitId;

    @NotEmpty(message = "请选择档案")
    @HasNonElement(message = "档案id不能包含null")
    private Set<String> patIds;

    public String getUnitId() {
        return unitId;
    }

    public void setUnitId(String unitId) {
        this.unitId = unitId;
    }

    public Set<String> getPatIds() {
        return patIds;
    }

    public void setPatIds(Set<String> patIds) {
        this.patIds = patIds;
    }
}
